package com.xzzz.irda.tracker.server.pojo;

import lombok.Data;

import java.util.List;
import java.util.TreeMap;

@Data
public class SpanNodeTreeRes {

    private static final long serialVersionUID = 1L;
    /**
     * 下级 SpanNode
     */
    private List<SpanNodeTreeRes> children;
    /**
     * traceId
     */
    private String traceId;
    /**
     * span 名称
     */
    private String spanName;
    /**
     * span 类型
     */
    private String spanType;
    /**
     * spanId
     */
    private String spanId;
    /**
     * spanParentId
     */
    private String spanParentId;
    /**
     * span开始时间
     */
    private long spanStart;
    /**
     * span结束时间
     */
    private long spanEnd;
    /**
     * 用时
     */
    private long spanInterval;
    /**
     * 应用名称
     */
    private String appName;
    /**
     * 自定义说明
     */
    private TreeMap<String, String> records = new TreeMap<>();
}
